package com.ruoyi.production.domain.pesticide;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农药类型对象 pesticide_type
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public class PesticideType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long pesticideTypeId;

    /** 农药类型 */
    @Excel(name = "农药类型")
    private String pesticideType;

    public void setPesticideTypeId(Long pesticideTypeId)
    {
        this.pesticideTypeId = pesticideTypeId;
    }

    public Long getPesticideTypeId()
    {
        return pesticideTypeId;
    }
    public void setPesticideType(String pesticideType)
    {
        this.pesticideType = pesticideType;
    }

    public String getPesticideType()
    {
        return pesticideType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pesticideTypeId", getPesticideTypeId())
            .append("pesticideType", getPesticideType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
